from registry.saas.rydeen.com.cn:5000/rydeen-public/nginx:latest

COPY dist /usr/share/nginx/html/
ADD ./nginx.conf.template /etc/nginx/conf.d/nginx.conf.template
ADD ./nginx.conf.template /etc/nginx/conf.d/default.conf

#CMD envsubst < /etc/nginx/conf.d/nginx.conf.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'
CMD nginx -g 'daemon off;'